<!DOCTYPE HTML>
<html class="bg-eee">
<head >
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>商铺</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/swiper.min.css" />
    <link rel="stylesheet" type="text/css" href="../css/layer.css" />
    <link rel="stylesheet" type="text/css" href="../css/mdw.css" />
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="../script/swiper.min.js"></script>
    <script type="text/javascript" src="../script/mobile.js"></script>
    <script type="text/javascript" src="../script/layer.js"></script>
    <script type="text/javascript" src="../script/mdw.js"></script>
    <script type="text/javascript" src="../script/jumpPage.js"></script>

</head>
<body>
    <header class="header">
        <div class="backPrevPage on" onclick="historyBack()"></div>
        <div class="pageTitle">店铺信息介绍</div>
    </header>
    <section class="shopDetailsPage HTML_BOX">
        <div class="bg-eee" style="border-bottom:.2rem solid #EEE ; "></div>
        <div class="shopHeaderBox2">
           <div class="shopImg">
                <img src="http://192.168.0.105/Uploads/Picture/2018-12-06/5c081f6993626.png"/>
                <div class="shop_name">
                    <span>恒都黑店旗舰店</span>
                    <span class="shop_sign">店铺简介介绍</span>
                </div>
            </div>
           <div class="shop_favorite"><i></i>收藏</div>
       </div>
       <div class="bg-eee" style="border-bottom:.2rem solid #EEE ; "></div>
       <div class="shop_details">
           <div class="details_title">店铺简介</div>
           <div class="details_content">
               
           </div>    
       </div>
    </section>
   
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
    var param;
    apiready = function(){
        $api.fixStatusBar($api.dom('header'));
        api.setStatusBarStyle({
            color: '#fff',//设置APP状态栏背景色
            style: 'dark'
        });
        ifCnAndEn();
        param = api.pageParam;
        // var s = param.sd;
        $(".shop_name span").eq(0).html(param.username);
        if(cnen==2){
            param.content= param.egcontent;
        }
        $(".shopImg img").attr("src",getImg(param.icon));
        $(".details_content").html(param.content);
        console.log(JSON.stringify(param));
    };

    $(".shop_favorite").click(function(){
        if(!isLogin()){
            return;
        }
        var p = {token:token,type:2,scshop_id:param.id};
        console.log(JSON.stringify(p));
        getAjax(Interface.join_collect,p,function(res){
          console.log(JSON.stringify(res));
          pop.close();
          pop.notice(res.msg);
        },function(res,err){})
    })

</script>
<script type="text/javascript">
    function ifCnAndEn(){
        if(cnen==2){
           $(".pageTitle").html('Store information');
        }
    }
</script>
</html>